<nav>
<?php $id = $sf_user->getAttribute('beca_id') ?>
<?php $id_atributo = $sf_user->getAttribute('atributo_id') ?>
    <?php if(($id == '') && ($id_atributo == '')):?>
        <?php include_partial('menu', array('id'=> 1, 'atributo_id'=>'item'))?>
    <?php else:?>
        <?php include_partial('menu', array('id'=> $id, 'atributo_id'=>$id_atributo))?>
    <?php endif;?>
</nav>
<article id="contenedorPais">    
<table>
  <thead>  
    <tr>
        <th colspan="3"><h2 id="titulo_form">LISTADO DE ATRIBUTOS</h2></th>
    </tr>
    <tr>
      <th>Codigo Beca</th>
      <th>Nombre de Atributo</th>
      <th>Atributo valor</th>      
    </tr>
  </thead>
  <tbody>
    <?php foreach ($atributos_nuevos as $atributos_nuevo): ?>
    <tr>
      <td><a href="<?php echo url_for('atributos_nuevos/show?id='.$atributos_nuevo->getId()) ?>"><?php echo $atributos_nuevo->getId() ?></a></td>
      <td><a href="<?php echo url_for('atributos_nuevos/show?id='.$atributos_nuevo->getId()) ?>"><?php echo $atributos_nuevo->getNombre() ?></a></td>
      <td></td>      
    </tr>
    <?php endforeach; ?>
  </tbody>
  <tfoot>
      <tr>
          <td colspan="3"></td>                    
      </tr>
  </tfoot>
</table>
</article>
<footer></footer>
